/* Bounded fixes from the mobile/tablet source audit. Browser/device acceptance is separate. */
@media screen{
 .ct-company-header .app-nav,.ct-company-header .app-nav__inner,.ct-company-header .app-header__inner>*{min-width:0}
 dialog{box-sizing:border-box;max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);overflow:auto}
 .dialog-backdrop .dialog{max-height:calc(100dvh - 40px)}
 .report-time-validation{min-height:1px!important}
 .report-time-panel{max-height:calc(100dvh - 24px);overflow:auto}
 .meter-choices{max-height:min(240px,40dvh)}
 .person-row>*,.subcontractor-row>*,.equipment-row>*,.mapping>label,.review-grid>label,.dialog-fields>label,.survey-fields>label{min-width:0;overflow-wrap:anywhere}
 .person-row .field,.subcontractor-row .field,.mapping select,.review-grid input,.directory-fields input:not([type=checkbox]),.directory-fields select{min-width:0;max-width:100%;box-sizing:border-box}
 .directory-fields label{min-width:0;max-width:100%;flex:1 1 200px}.directory-fields .active-field{flex:0 1 auto}.directory-fields input:not([type=checkbox]),.directory-fields select{width:100%}
}
@media screen and (max-width:680px){
 .ct-page-heading .head-actions,.ct-page-heading .header-actions,.ct-page-heading .heading-actions{min-width:0;max-width:100%}
 .ct-page-heading button,.ct-page-heading a{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}
 .subcontractor-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media screen and (max-width:400px){.ct-company-header .mode-option{left:0;right:auto;min-width:min(210px,calc(100vw - 32px));max-width:calc(100vw - 32px);white-space:normal}}
@media screen and (pointer:coarse), screen and (any-pointer:coarse){
 button,input[type=button],input[type=submit],input[type=reset]{min-height:44px!important;min-width:44px!important;touch-action:manipulation}
 input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]):not([type=range]),select,textarea{font-size:16px!important;min-height:44px!important}
 .ct-company-header summary.mode-button,.ct-company-header .user-chip{min-height:44px;min-width:44px}
 .project-card-order .project-drag-handle{width:44px;height:44px}.project-grid .project-card.can-reorder h2{padding-right:54px}
 .issue-card{padding-right:12px}.issue-card .issue-top{min-height:44px}.issue-card .issue-top>div:first-child{padding-right:118px}.issue-card .issue-head-actions{top:7px}.issue-card .issue-menu summary{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;box-sizing:border-box}.issue-card .issue-details>summary{display:grid;place-items:center;min-width:58px;min-height:44px;top:7px;right:58px}
}
@media screen and (orientation:landscape) and (max-height:600px){.drawing-scroll{height:65dvh;min-height:180px}}
