@layer compras-compact-capture {
/* Keep long selected values inside their own control throughout COMPRAS. */
#root .app-select{min-width:0;max-width:100%}
#root .app-select__trigger{min-width:0;max-width:100%}
#root .app-select__trigger>span:first-child{min-width:0!important;flex:1 1 auto!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;text-align:start}
#root .app-select__trigger::after{flex-shrink:0}
/* The weekly report needs room for its empty-currency label and search independently. */
#root .pr-heading.pr-unified-heading.pr-report-toolbar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important}
#root .pr-heading.pr-unified-heading.pr-report-toolbar .pr-header-filters{display:flex!important;flex:1 1 340px!important;min-width:min(100%,340px)!important;max-width:100%;gap:12px!important}
#root .pr-heading.pr-unified-heading.pr-report-toolbar .pr-header-filters>label:first-child{width:156px!important;flex:0 0 156px!important;min-width:0!important;max-width:100%}
#root .pr-heading.pr-unified-heading.pr-report-toolbar .pr-header-filters>label:last-child{flex:1 1 160px!important;min-width:160px!important}
#root .pr-heading.pr-unified-heading.pr-report-toolbar .pr-header-filters .app-select{display:block;width:100%;min-width:0}
#root .pr-heading.pr-unified-heading.pr-report-toolbar .pr-header-filters :is(input,button){min-height:44px!important;height:44px!important}
#root .pr-heading.pr-unified-heading.pr-report-toolbar .weekly-header-actions{flex:0 0 auto;max-width:100%}
#root .pr-heading.pr-unified-heading.pr-report-toolbar .reporting-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
@media(min-width:768px) and (max-width:1100px){
 #root .pr-heading.pr-unified-heading.pr-report-toolbar .pr-week-picker{order:1}
 #root .pr-heading.pr-unified-heading.pr-report-toolbar .weekly-header-actions{order:2;margin-inline-start:auto}
 #root .pr-heading.pr-unified-heading.pr-report-toolbar .pr-header-filters{order:3;flex-basis:100%!important}
}
@media(max-width:767px){
 #root .pr-heading.pr-unified-heading.pr-report-toolbar .pr-header-filters{display:grid!important;grid-template-columns:minmax(0,1fr);width:100%;flex-basis:100%!important;min-width:0!important}
 #root .pr-heading.pr-unified-heading.pr-report-toolbar .pr-header-filters>label:first-child,#root .pr-heading.pr-unified-heading.pr-report-toolbar .pr-header-filters>label:last-child{width:100%!important;min-width:0!important;flex:1 1 auto!important}
}
/* Requisition tools must shrink their input, not paint into adjacent actions. */
#root .requisition-workspace.rq-layout .workspace-heading .workspace-heading-actions{flex-wrap:wrap!important;gap:8px!important;min-width:0}
#root .requisition-workspace.rq-layout .workspace-heading .rq-header-tools{flex:1 1 340px!important;min-width:min(100%,300px)!important;max-width:100%!important;gap:8px!important}
#root .requisition-workspace.rq-layout .workspace-heading .rq-header-search{flex:1 1 160px!important;min-width:0!important;max-width:100%}
#root .requisition-workspace.rq-layout .workspace-heading .rq-header-search input{flex:1 1 0%!important;min-width:0!important;width:100%!important;max-width:100%}
#root .requisition-workspace.rq-layout .workspace-heading .rq-header-tools>.rq-header-filter-toggle{flex:0 0 44px;min-width:44px}
#root .requisition-workspace.rq-layout .workspace-heading .workspace-heading-actions>.icon-button{flex:0 0 44px}
@media(min-width:768px) and (max-width:1100px){#root .requisition-workspace.rq-layout .workspace-heading .rq-header-tools{flex-basis:100%!important}}

}
