/* Shared constraints for named product components, without clipping document overflow. */
body.dg-product-ui :is(.ws-page,.le-wrap,.roles-page,.rd-page,.nb-page,.pc-page,.he-page,.ft-app,.fc-page,.fset-page,.fs-page,.dg-home){box-sizing:border-box;min-width:0}
body.dg-product-ui :is(.ws-columns,.ws-assignments,.ws-tools,.ws-form,.fc-sets-grid,.fset-cards-grid,.nb-grid,.rd-grid,.dg-daily-grid,.dg-launch-grid)>*{min-width:0}
body.dg-product-ui :is(.ws-card,.rd-card,.fc-set-card,.fset-card,.nb-word-card,.pr-benefit,.ll-card,.le-card){overflow-wrap:anywhere}
body.dg-product-ui :is(.ws-table-wrap,.dg-table-scroll){max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
body.dg-product-ui :is(.ws-actions,.fc-toolbar,.fset-toolbar){flex-wrap:wrap;gap:8px}
body.dg-product-ui :is(.fc-modal-card,.fset-modal-box,.roles-modal,.dg-dialog){box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain}
body.dg-product-ui :is(.ws-form,.fc-modal-card,.fset-modal-box) :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),textarea,select){box-sizing:border-box;max-width:100%;min-width:0}
body.dg-product-ui :is(.fc-tab,.rd-chip,.pc-tabs button,.he-tabs button){min-height:44px;touch-action:manipulation}
@media(max-width:767px){body.dg-product-ui :is(.fc-sets-grid,.fset-cards-grid,.rd-grid,.nb-grid,.ws-columns,.ws-assignments,.ws-form){grid-template-columns:minmax(0,1fr)!important}body.dg-product-ui :is(.fc-modal-card,.fset-modal-box){padding:16px}body.dg-product-ui :is(.pc-tabs,.he-tabs){display:flex;overflow-x:auto;gap:7px;scrollbar-width:thin;overscroll-behavior-x:contain}body.dg-product-ui :is(.pc-tabs,.he-tabs) button{flex:none}body.dg-product-ui :is(.ws-hero,.rd-hero,.fset-hero,.fc-hero) :is(h1,h2){overflow-wrap:anywhere}body.dg-product-ui :is(.ws-form,.fc-modal-card,.fset-modal-box) :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),textarea,select){font-size:16px!important}}
@media(min-width:768px) and (max-width:1023px){body.dg-product-ui :is(.fc-sets-grid,.fset-cards-grid,.rd-grid,.nb-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
