/* CDesck 4.2.70: corrige apenas o layout dos cartões Casas de Hoje da Helper.
   Evita a colisão entre horário, status e botão em notebook e celular. */
#app.cdesck-app-root .employee-sequence{min-width:0;width:100%}
#app.cdesck-app-root .employee-sequence .job-card.sequence-card{
 display:grid!important;
 grid-template-columns:44px minmax(0,1fr)!important;
 grid-template-areas:"number info" "number status" "actions actions";
 gap:8px 14px!important;
 align-items:start!important;
 padding:20px!important;
 width:100%!important;
 min-width:0!important;
}
#app.cdesck-app-root .employee-sequence .sequence-card>.num{grid-area:number;align-self:center;justify-self:center;min-width:0}
#app.cdesck-app-root .employee-sequence .sequence-card>.job-card-main{grid-area:info;display:grid!important;gap:5px!important;min-width:0!important;width:100%!important}
#app.cdesck-app-root .employee-sequence .sequence-card .job-card-main .client{font-size:clamp(17px,1.15vw,20px)!important;line-height:1.3!important;overflow-wrap:normal!important}
#app.cdesck-app-root .employee-sequence .sequence-card .job-card-main .time{font-size:clamp(15px,1vw,18px)!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:normal!important}
#app.cdesck-app-root .employee-sequence .sequence-card .job-card-main .address{font-size:clamp(15px,1vw,18px)!important;line-height:1.45!important;overflow-wrap:break-word!important}
#app.cdesck-app-root .employee-sequence .sequence-card>.sequence-status{grid-area:status!important;justify-self:start!important;text-align:left!important;font-size:clamp(13px,.9vw,15px)!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;max-width:100%!important}
#app.cdesck-app-root .employee-sequence .sequence-card>.sequence-actions{grid-area:actions!important;grid-column:auto!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;gap:10px!important;min-width:0!important;width:100%!important;margin-top:6px!important}
#app.cdesck-app-root .employee-sequence .sequence-card>.sequence-actions>button{flex:0 1 auto!important;width:auto!important;max-width:100%!important;min-width:150px!important;min-height:44px!important;padding:11px 18px!important;font-size:clamp(14px,.9vw,16px)!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;text-align:center!important}
@media(max-width:600px){
 #app.cdesck-app-root .employee-sequence .job-card.sequence-card{grid-template-columns:34px minmax(0,1fr)!important;gap:8px 10px!important;padding:15px 12px!important}
 #app.cdesck-app-root .employee-sequence .sequence-card>.sequence-actions>button{flex:1 1 100%!important;width:100%!important;min-width:0!important;font-size:16px!important}
}

/* 4.2.77: buttons never collapse into vertical letters */
#app.cdesck-app-root .employee-sequence .sequence-card>.sequence-actions{min-width:0!important;grid-column:1/-1!important}
#app.cdesck-app-root .employee-sequence .sequence-card>.sequence-actions>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:auto!important;min-width:160px!important;max-width:100%!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:normal!important;writing-mode:horizontal-tb!important;line-height:1.35!important}
@media(max-width:600px){#app.cdesck-app-root .employee-sequence .sequence-card>.sequence-actions>button{flex:0 1 auto!important;width:auto!important;min-width:160px!important;max-width:100%!important}}
