/* Shared responsive safeguards for the standalone selectors and embedded details. */
.page-wrapper,.selector-box,.results-with-filters,.results-box,.selector-item{box-sizing:border-box;min-width:0;max-width:100%}
.results-box{width:100%}.results-scroll{max-width:100%;overflow-x:auto}
#spec-email-compose,#spec-email-status,#spec-quote-compose{max-height:85vh;max-height:85dvh;overflow:auto;overflow-wrap:anywhere}
#spec-email-compose input,#spec-email-compose textarea{box-sizing:border-box;max-width:100%}
@media(max-width:768px){
 .results-with-filters{flex-direction:column}.results-box{flex:auto;width:100%;padding:12px}.selector-filters{box-sizing:border-box;width:100%;max-width:100%}
 .selector-item{min-width:0!important;width:100%;max-width:100%}.selector-grid{gap:16px}.selector-box input:not([type=radio]):not([type=checkbox]),.spec-contact input,dialog input,dialog select,dialog textarea{font-size:16px!important}
 .spec-action-grid>button,.spec-action-grid>a{min-height:44px}.spec-contact{padding:12px;overflow-wrap:anywhere}
 .curve-row>td{box-sizing:border-box}.curve-row canvas,.curve-row img{max-width:100%}.footer-note{overflow-wrap:anywhere}
}
@media(max-width:420px){.spec-action-grid{grid-template-columns:1fr!important}.selector-grid{flex-direction:column;align-items:stretch}.input-grid{grid-template-columns:minmax(0,1fr)}.selector-box .button-box{width:100%}.selector-box .selector-btn{max-width:100%}}
@media(max-width:768px){.selector-grid{flex-direction:column;align-items:stretch}.selector-box .selector-btn{max-width:100%;min-width:0}.selector-box .button-box{width:100%}footer img{max-width:100%;height:auto}}
