/* CISK C2.1 - horarios de Conteo + corrección editor de rutas */

/* Conteo: horario habitual */
.cc-habitual-hours{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:8px;
  grid-column:1/-1;
  min-width:0;
}
.cc-habitual-hours label{min-width:0}
.cc-habitual-hours input{width:100%;box-sizing:border-box}
.cc-habitual-hours small,
.cc-punctual-hint{
  grid-column:1/-1;
  color:#667085;
  font-size:.72rem;
  line-height:1.3;
}
.cc-effective-hours{
  margin:6px 0 2px;
  padding:6px 8px;
  border-radius:8px;
  background:#f5f8fb;
  color:#536174;
  font-size:.74rem;
}
.count-readonly .count-sale-card:target{
  outline:3px solid rgba(17,116,173,.28);
  outline-offset:3px;
}

/* Logística: el editor vive dentro de tarjetas angostas.
   Una sola columna evita que Nombre / Piloto / Salida se encimen. */
.route-card .route-management-panel .route-edit-form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:9px!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.route-card .route-management-panel .route-edit-form > *{
  grid-column:1/-1!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.route-card .route-management-panel .route-edit-form label{
  display:grid!important;
  gap:4px!important;
  width:100%!important;
}
.route-card .route-management-panel .route-edit-form input,
.route-card .route-management-panel .route-edit-form select,
.route-card .route-management-panel .route-edit-form textarea,
.route-card .route-management-panel .route-edit-form button{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.route-card .route-management-panel .route-delete-form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
}
.route-card .route-management-panel .route-delete-form > *{
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  box-sizing:border-box!important;
}

@media(max-width:720px){
  .cc-habitual-hours{grid-template-columns:1fr}
}
