/* v2.9.532 – scoped responsive adjustments; no event or transaction changes. */
/* Keep row-level operations side by side, instead of vertically expanding each record. */
#content .brick48-records .table td:last-child {min-width:150px;white-space:nowrap;}
#content .brick48-records .table td:last-child .brick48-actions{display:inline-flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center;gap:6px;width:max-content;max-width:none}
#content .brick48-records .table td:last-child .brick48-actions .btn{display:inline-flex;min-width:0;white-space:nowrap;padding:6px 9px;min-height:34px}
#content .brick48-records .table-wrap{max-width:100%;overflow-x:auto}
/* HRMS bulk action controls: stop label text wrapping into a narrow vertical column. */
#content .hrms194-bulk{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:9px;padding:10px}
#content .hrms194-bulk>label{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;min-width:150px;white-space:nowrap;gap:8px;align-items:center;margin:0}
#content .hrms194-bulk>label input{flex:0 0 auto;width:16px;height:16px}
#content .hrms194-bulk>span{flex:0 0 auto;white-space:nowrap}
#content .hrms194-bulk>select{flex:1 1 175px!important;min-width:150px!important;width:auto!important;max-width:320px}
#content .hrms194-bulk>.btn{flex:0 0 auto!important;width:auto!important;white-space:nowrap}
/* Employee attendance reports: flexible, well-sized filter fields. */
@media(min-width:1050px){#content .hrms194-report-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;align-items:end}#content .hrms194-report-filters>*,#content .hrms194-report-filters input,#content .hrms194-report-filters select{min-width:0;max-width:100%;box-sizing:border-box}}
/* Plants & Tools client list: make every column reachable via table scrolling. */
#content .pl331-profiles,#content .pl331-profiles .table-wrap{min-width:0;max-width:100%;box-sizing:border-box}
#content .pl331-profiles .table-wrap{display:block;overflow-x:auto!important;overflow-y:visible;scrollbar-width:thin;overscroll-behavior-x:contain}
#content .pl331-profiles .table-wrap table{min-width:1200px;width:max-content;max-width:none;table-layout:auto}
#content .pl331-profiles td,#content .pl331-profiles th{overflow-wrap:normal;white-space:nowrap}
/* Bricks: consistent sizing and spacing, preserving form fields. */
body.ami-saas485 #content .ami495-entry-card{padding:16px 18px}
body.ami-saas485 #content .ami495-entry-head{margin-bottom:12px;padding-bottom:10px}
body.ami-saas485 #content .ami495-entry-grid{gap:10px 12px}
body.ami-saas485 #content .ami495-entry-grid>label{min-width:0}
body.ami-saas485 #content .ami495-entry-grid :is(input,select,textarea){min-width:0;max-width:100%;box-sizing:border-box}
#content .brick44-card .brick44-head{margin-bottom:10px}
#content .brick48-records .brick48-filters{margin-bottom:10px}
#content .brick49-reports .brick49-filterbar{margin:10px 0 12px;padding:10px;gap:8px}
#content .brick49-reports .brick49-filterbar>button{align-self:end;flex:0 0 auto}
#content .b430-material-shell .b430-material-table :is(input,select){text-overflow:ellipsis}
@media(max-width:700px){#content .hrms194-bulk>label{flex:1 1 100%!important}#content .hrms194-bulk>select{max-width:none;flex:1 1 100%!important}#content .hrms194-bulk>.btn{flex:1 1 140px!important}#content .pl331-profiles .table-wrap{overflow-x:auto!important}}
