/* NovaBranding-WB v1.00.17 responsive/runtime hardening. */
:where([class^="ep-"],[class*=" ep-"],[class^="nbwb-"],[class*=" nbwb-"]) { box-sizing:border-box; }
:where([class^="ep-"],[class*=" ep-"],[class^="nbwb-"],[class*=" nbwb-"]) *,
:where([class^="ep-"],[class*=" ep-"],[class^="nbwb-"],[class*=" nbwb-"]) *::before,
:where([class^="ep-"],[class*=" ep-"],[class^="nbwb-"],[class*=" nbwb-"]) *::after { box-sizing:inherit; }
:where([class^="ep-"],[class*=" ep-"],[class^="nbwb-"],[class*=" nbwb-"]) img,
:where([class^="ep-"],[class*=" ep-"],[class^="nbwb-"],[class*=" nbwb-"]) video,
:where([class^="ep-"],[class*=" ep-"],[class^="nbwb-"],[class*=" nbwb-"]) iframe { max-width:100%; }
:where([class^="ep-"],[class*=" ep-"],[class^="nbwb-"],[class*=" nbwb-"]) input,
:where([class^="ep-"],[class*=" ep-"],[class^="nbwb-"],[class*=" nbwb-"]) select,
:where([class^="ep-"],[class*=" ep-"],[class^="nbwb-"],[class*=" nbwb-"]) textarea { max-width:100%; }
:where(.ep-table-wrap,.ep-responsive-table,.nbwb-table-wrap){max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
:where([role="dialog"].ep-modal,[role="dialog"][class*="ep-"],[aria-modal="true"][class*="ep-"]){max-width:min(calc(100vw - 24px),1100px);max-height:calc(100dvh - 24px);overflow:auto}
@media (max-width:782px){
  :where(.wrap[class*="ep-"],.wrap[class*="nbwb-"],[class*="ep-cc"],[class*="ep-command"],[class*="nbwb-"]){max-width:100%;min-width:0}
  :where([class*="ep-grid"],[class*="nbwb-grid"]){min-width:0}
  :where([class*="ep-actions"],[class*="nbwb-actions"]){flex-wrap:wrap}
}
@media (max-width:430px){
  :where([class*="ep-actions"],[class*="nbwb-actions"]) > :where(a,button,.button){max-width:100%}
}
/* Studio preview frames must not force horizontal overflow on narrow admin screens. */
.ep-nps-canvas-shell[data-nps-preview-device="tablet"] :where(.ep-nps-canvas,.ep-nps-browser-chrome,.ep-nps-live-canvas){width:min(768px,100%);max-width:100%}
.ep-nps-canvas-shell[data-nps-preview-device="mobile"] :where(.ep-nps-canvas,.ep-nps-browser-chrome,.ep-nps-live-canvas){width:min(390px,100%);max-width:100%}
@media (max-width:390px){
  :where([class*="ep-actions"],[class*="nbwb-actions"]){min-width:0}
  :where([class*="ep-actions"],[class*="nbwb-actions"]) > :where(a,button,.button){width:100%;min-width:0}
}
