/* Scoped to SINCO; cards and history occupy independent grid rows. */
#logisticaScreen #logPanel-solicitud #sincoMenu:not([style*="display: none"]):not([style*="display:none"]){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:16px!important;min-width:0;width:100%;}
#logisticaScreen #logPanel-solicitud #sincoMenu>.sinco-modern-card{grid-column:auto!important;width:100%!important;height:auto!important;min-height:120px!important;max-height:none!important;margin:0!important;box-sizing:border-box;}
#logisticaScreen #logPanel-solicitud #sincoMenu>.log-box{grid-column:1/-1!important;width:100%!important;min-width:0!important;box-sizing:border-box;overflow-x:auto;margin:0!important;}
#sincoMenu>.log-box table{width:100%!important;min-width:1120px;table-layout:auto!important;}
#sincoMenu>.log-box th:nth-child(3),#sincoMenu>.log-box td:nth-child(3){min-width:300px!important;width:32%;white-space:normal!important;overflow-wrap:anywhere;}
#sincoListControls{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:12px 0;}
#sincoListControls label{display:flex;flex-direction:column;gap:4px;min-width:130px;}
#sincoListControls input,#sincoListControls select{max-width:100%;padding:8px;box-sizing:border-box;}
#sincoListPager{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px;}
@media(max-width:760px){#logisticaScreen #logPanel-solicitud #sincoMenu:not([style*="display: none"]):not([style*="display:none"]){grid-template-columns:1fr!important;}#logisticaScreen #logPanel-solicitud #sincoMenu>.sinco-modern-card{min-height:110px!important;}#sincoListControls label{flex:1 1 140px;}}


@media(max-width:760px){#menuScreen .siov-content-area:has(#logPanel-solicitud.active){min-width:0!important;width:100%!important;box-sizing:border-box;padding:10px!important;}.siov-logistics-process-panel:has(#logPanel-solicitud.active){min-width:0!important;width:100%!important;box-sizing:border-box;padding:10px!important;}#logPanel-solicitud #sincoMenu>.sinco-modern-card{padding:12px!important;}#sincoListControls label{min-width:0;width:100%;}#sincoListControls input,#sincoListControls select{width:100%;}}
